<template>
  <div>
    <h1>{{methodss}}</h1>
    <button @click="fzsj">翻转事件</button>
  </div>
</template>

<script>
export default {
  data () {
    return {
      methodss: 'Hello,World'
    }
  },
  methods: {
    fzsj() {
      this.methodss = this.methodss.split("").reverse().join("")
    }
  }
}
</script>

<style scoped lang='less'>

</style>

